import 'package:flutter/cupertino.dart';
import 'package:meePet/utils/LogUtils.dart';
import 'package:meePet/utils/ScreenUtils.dart';
import 'package:meePet/utils/SizeFit.dart';

import '../manager/EncryptManager.dart';
import '../utils/SPUtil.dart';

class InitSDK {
  ///全局初始化第三方sdk或者本地工具类
  static void initThirdPartSDK(BuildContext context) {
    LogUtils.init(isDebug: true);
    LogUtils.i("自定义的日志打印");
    SizeFit.init(context);
    ScreenUtils.instance.init(context);
    SPUtil.init();
    Future.delayed(Duration(milliseconds: 100),(){
      EncryptManager.getInstance().init();
    });
  }
}
